package aop.controller;

import aop.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Author：汤小洋
 * Date：2022-11-23 13:51
 * Description：<描述>
 */
@Controller
public class UserController {

    @Autowired
    private UserService userService;

    public void login(String username,String password){
        userService.login(username,password);
    }

    public String logout(){
        return userService.logout();
    }

}
